package org.service.car.pojo;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "FORNECEDOR")
public class Fornecedor {
	
	public Fornecedor(){}
	
	@DatabaseField(generatedId = true)
	private Integer id;
	
	@DatabaseField(canBeNull = false, columnName = "nome", dataType = DataType.STRING )
	private String nome;
	
	@DatabaseField(canBeNull = false, columnName = "snnipet", dataType = DataType.STRING )
	private String snnipet;
	
	@DatabaseField(canBeNull = true, columnName = "url", dataType = DataType.STRING )
	private String url;
	
	@DatabaseField(canBeNull = false, columnName = "latitude", dataType = DataType.DOUBLE_OBJ )
	private Double latitude;
	
	@DatabaseField(canBeNull = false, columnName = "longitude", dataType = DataType.DOUBLE_OBJ)
	private Double longitude;
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}

	public String getSnnipet() {
		return snnipet;
	}

	public void setSnnipet(String snnipet) {
		this.snnipet = snnipet;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}
	
	

}
